<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/g3dvtk/TruncatedRegularGrid.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_6064c62b02fe9c18fce91bd1b2abc707.html">g3dvtk</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">TruncatedRegularGrid.h</div></div>
</div><!--header-->
<div class="contents">
<a href="g3dvtk_2_truncated_regular_grid_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// UTF-8编码</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &lt;<a class="code" href="geo3dml_2_truncated_regular_grid_8h.html">geo3dml/TruncatedRegularGrid.h</a>&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="preprocessor">#include &lt;vtkUnstructuredGrid.h&gt;</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="preprocessor">#include &lt;<a class="code" href="_shape_helper_8h.html">g3dvtk/ShapeHelper.h</a>&gt;</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceg3dvtk.html">g3dvtk</a> {</div>
<div class="foldopen" id="foldopen00010" data-start="{" data-end="};">
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html">   10</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classg3dvtk_1_1_truncated_regular_grid.html">TruncatedRegularGrid</a> : <span class="keyword">public</span> <a class="code hl_class" href="classgeo3dml_1_1_truncated_regular_grid.html">geo3dml::TruncatedRegularGrid</a> {</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#aa8828504bc8359d580c3f2f3dae24988">   12</a></span>        <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#aa8828504bc8359d580c3f2f3dae24988">TruncatedRegularGrid</a>();</div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a487cdae199c618d62d6faae554067a09">   13</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#a487cdae199c618d62d6faae554067a09">~TruncatedRegularGrid</a>();</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span> </div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a4f16244c82842397b0a7102e0365c185">   18</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#a4f16244c82842397b0a7102e0365c185">AppendVertex</a>(<span class="keywordtype">double</span> x, <span class="keywordtype">double</span> y, <span class="keywordtype">double</span> z) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a12362c4b13249da8dc2958f4e1374e53">   19</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#a12362c4b13249da8dc2958f4e1374e53">GetVertexCount</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a881376769840f9910b5dd2416fea9c57">   20</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#a881376769840f9910b5dd2416fea9c57">GetVertexAt</a>(<span class="keywordtype">int</span> i, <span class="keywordtype">double</span>&amp; x, <span class="keywordtype">double</span>&amp; y, <span class="keywordtype">double</span>&amp; z) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#ac016b081703cd58fc829a86b6ba6c84c">   21</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#ac016b081703cd58fc829a86b6ba6c84c">AppendFace</a>(<span class="keyword">const</span> std::list&lt;int&gt;&amp; vertices) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#ac2f016ce812c63f1af04db5ef348b041">   22</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#ac2f016ce812c63f1af04db5ef348b041">GetFaceCount</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#ab7fc43014123c8ce45047cab664696d0">   23</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#ab7fc43014123c8ce45047cab664696d0">GetFaceAt</a>(<span class="keywordtype">int</span> i, std::list&lt;int&gt;&amp; vertices) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#afc614794368d1172352d2102e8cc990f">   24</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#afc614794368d1172352d2102e8cc990f">AppendCell</a>(<span class="keyword">const</span> std::list&lt;int&gt;&amp; faces, <span class="keywordtype">int</span> i = 0, <span class="keywordtype">int</span> j = 0, <span class="keywordtype">int</span> k = 0) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a12d00d334da5279b9df71ba08a336c5f">   25</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">int</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#a12d00d334da5279b9df71ba08a336c5f">GetCellCount</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#afbe9008e7ec75b44fbbe39527898f30c">   26</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#afbe9008e7ec75b44fbbe39527898f30c">GetCellAt</a>(<span class="keywordtype">int</span> n, std::list&lt;int&gt;&amp; faces, <span class="keywordtype">int</span>&amp; i, <span class="keywordtype">int</span>&amp; j, <span class="keywordtype">int</span>&amp; k) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a6180888410b79d21e79b233b6003d90f">   31</a></span>        <span class="keyword">virtual</span> <a class="code hl_struct" href="structgeo3dml_1_1_box3_d.html">geo3dml::Box3D</a> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#a6180888410b79d21e79b233b6003d90f">GetMinimumBoundingRectangle</a>() <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a8007748ae99cfbb9d6d6fca0a435cdbc">   32</a></span>        <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#a8007748ae99cfbb9d6d6fca0a435cdbc">SetProperty</a>(<a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* prop, <a class="code hl_enumeration" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a> t) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a4bfa5e292a269418f940f699f70a7f7e">   33</a></span>        <span class="keyword">virtual</span> <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#a4bfa5e292a269418f940f699f70a7f7e">GetProperty</a>(<a class="code hl_enumeration" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a> t) <span class="keyword">const override</span>;</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span> </div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#ac0cb4341ee81761f608c1c9e02c5e9a1">   36</a></span>        vtkUnstructuredGrid* <a class="code hl_function" href="classg3dvtk_1_1_truncated_regular_grid.html#ac0cb4341ee81761f608c1c9e02c5e9a1">GetVolumeData</a>() <span class="keyword">const</span>;</div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span> </div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#ab0116360a49f2371865a70aac2b90aeb">   39</a></span>        vtkSmartPointer&lt;vtkUnstructuredGrid&gt; <a class="code hl_variable" href="classg3dvtk_1_1_truncated_regular_grid.html#ab0116360a49f2371865a70aac2b90aeb">gridData_</a>;</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a1a25b4c7d99bdc38f10b1753bab63906">   40</a></span>        <a class="code hl_class" href="classg3dvtk_1_1_shape_helper.html">ShapeHelper</a> <a class="code hl_variable" href="classg3dvtk_1_1_truncated_regular_grid.html#a1a25b4c7d99bdc38f10b1753bab63906">shapeHelper_</a>;</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="foldopen" id="foldopen00043" data-start="{" data-end="};">
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="structg3dvtk_1_1_truncated_regular_grid_1_1_face.html">   43</a></span>        <span class="keyword">struct </span><a class="code hl_struct" href="structg3dvtk_1_1_truncated_regular_grid_1_1_face.html">Face</a> {</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="structg3dvtk_1_1_truncated_regular_grid_1_1_face.html#a0c7a2965ed5076bab78829c4c623b860">   44</a></span>            std::list&lt;int&gt; <a class="code hl_variable" href="structg3dvtk_1_1_truncated_regular_grid_1_1_face.html#a0c7a2965ed5076bab78829c4c623b860">vertices</a>;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>        };</div>
</div>
<div class="foldopen" id="foldopen00047" data-start="{" data-end="};">
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html">   47</a></span>        <span class="keyword">struct </span><a class="code hl_struct" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html">Cell</a> {</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#a5168200edf669b177fb3ee234ec0116a">   48</a></span>            std::list&lt;int&gt; <a class="code hl_variable" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#a5168200edf669b177fb3ee234ec0116a">faces</a>;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#aac723e8ad702e78a80eb7a4f734a4c77">   49</a></span>            <span class="keywordtype">int</span> <a class="code hl_variable" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#aac723e8ad702e78a80eb7a4f734a4c77">i</a>, <a class="code hl_variable" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#a67e410352c14fa704b6284e3fc8e4737">j</a>, <a class="code hl_variable" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#acd005e1d5b924ce080486c328b8b9393">k</a>;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span> </div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"><a class="line" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#ab0b255b0c4e6ffa891c7fb0041f80339">   51</a></span>            <a class="code hl_function" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#ab0b255b0c4e6ffa891c7fb0041f80339">Cell</a>() { <a class="code hl_variable" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#aac723e8ad702e78a80eb7a4f734a4c77">i</a> = <a class="code hl_variable" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#a67e410352c14fa704b6284e3fc8e4737">j</a> = <a class="code hl_variable" href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#acd005e1d5b924ce080486c328b8b9393">k</a> = -1; };</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>        };</div>
</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#a1e7040df1c78902403f8d1b56c19cff6">   53</a></span>        std::vector&lt;Face&gt; <a class="code hl_variable" href="classg3dvtk_1_1_truncated_regular_grid.html#a1e7040df1c78902403f8d1b56c19cff6">faces_</a>;</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_truncated_regular_grid.html#aee6137423e8f29fa34ecc81b159957fa">   54</a></span>        std::vector&lt;Cell&gt; <a class="code hl_variable" href="classg3dvtk_1_1_truncated_regular_grid.html#aee6137423e8f29fa34ecc81b159957fa">cells_</a>;</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>    };</div>
</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>}</div>
<div class="ttc" id="a_shape_helper_8h_html"><div class="ttname"><a href="_shape_helper_8h.html">ShapeHelper.h</a></div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html">g3dvtk::ShapeHelper</a></div><div class="ttdef"><b>Definition</b> ShapeHelper.h:8</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html">g3dvtk::TruncatedRegularGrid</a></div><div class="ttdoc">基于VTK数据结构的顺层网格/截断网格实现。</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:10</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a12362c4b13249da8dc2958f4e1374e53"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a12362c4b13249da8dc2958f4e1374e53">g3dvtk::TruncatedRegularGrid::GetVertexCount</a></div><div class="ttdeci">virtual int GetVertexCount() const override</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a12d00d334da5279b9df71ba08a336c5f"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a12d00d334da5279b9df71ba08a336c5f">g3dvtk::TruncatedRegularGrid::GetCellCount</a></div><div class="ttdeci">virtual int GetCellCount() const override</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a1a25b4c7d99bdc38f10b1753bab63906"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a1a25b4c7d99bdc38f10b1753bab63906">g3dvtk::TruncatedRegularGrid::shapeHelper_</a></div><div class="ttdeci">ShapeHelper shapeHelper_</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:40</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a1e7040df1c78902403f8d1b56c19cff6"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a1e7040df1c78902403f8d1b56c19cff6">g3dvtk::TruncatedRegularGrid::faces_</a></div><div class="ttdeci">std::vector&lt; Face &gt; faces_</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:53</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a487cdae199c618d62d6faae554067a09"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a487cdae199c618d62d6faae554067a09">g3dvtk::TruncatedRegularGrid::~TruncatedRegularGrid</a></div><div class="ttdeci">virtual ~TruncatedRegularGrid()</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a4bfa5e292a269418f940f699f70a7f7e"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a4bfa5e292a269418f940f699f70a7f7e">g3dvtk::TruncatedRegularGrid::GetProperty</a></div><div class="ttdeci">virtual geo3dml::ShapeProperty * GetProperty(geo3dml::ShapeProperty::SamplingTarget t) const override</div><div class="ttdoc">取几何对象关联属性场。</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a4f16244c82842397b0a7102e0365c185"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a4f16244c82842397b0a7102e0365c185">g3dvtk::TruncatedRegularGrid::AppendVertex</a></div><div class="ttdeci">virtual int AppendVertex(double x, double y, double z) override</div><div class="ttdoc">添加一个顶点。</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a6180888410b79d21e79b233b6003d90f"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a6180888410b79d21e79b233b6003d90f">g3dvtk::TruncatedRegularGrid::GetMinimumBoundingRectangle</a></div><div class="ttdeci">virtual geo3dml::Box3D GetMinimumBoundingRectangle() const override</div><div class="ttdoc">计算几何对象的最小外包矩形.</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a8007748ae99cfbb9d6d6fca0a435cdbc"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a8007748ae99cfbb9d6d6fca0a435cdbc">g3dvtk::TruncatedRegularGrid::SetProperty</a></div><div class="ttdeci">virtual void SetProperty(geo3dml::ShapeProperty *prop, geo3dml::ShapeProperty::SamplingTarget t) override</div><div class="ttdoc">设置几何对象关联的属性场对象。</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_a881376769840f9910b5dd2416fea9c57"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#a881376769840f9910b5dd2416fea9c57">g3dvtk::TruncatedRegularGrid::GetVertexAt</a></div><div class="ttdeci">virtual bool GetVertexAt(int i, double &amp;x, double &amp;y, double &amp;z) const override</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_aa8828504bc8359d580c3f2f3dae24988"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#aa8828504bc8359d580c3f2f3dae24988">g3dvtk::TruncatedRegularGrid::TruncatedRegularGrid</a></div><div class="ttdeci">TruncatedRegularGrid()</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_ab0116360a49f2371865a70aac2b90aeb"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#ab0116360a49f2371865a70aac2b90aeb">g3dvtk::TruncatedRegularGrid::gridData_</a></div><div class="ttdeci">vtkSmartPointer&lt; vtkUnstructuredGrid &gt; gridData_</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:39</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_ab7fc43014123c8ce45047cab664696d0"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#ab7fc43014123c8ce45047cab664696d0">g3dvtk::TruncatedRegularGrid::GetFaceAt</a></div><div class="ttdeci">virtual bool GetFaceAt(int i, std::list&lt; int &gt; &amp;vertices) const override</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_ac016b081703cd58fc829a86b6ba6c84c"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#ac016b081703cd58fc829a86b6ba6c84c">g3dvtk::TruncatedRegularGrid::AppendFace</a></div><div class="ttdeci">virtual int AppendFace(const std::list&lt; int &gt; &amp;vertices) override</div><div class="ttdoc">添加一个面片。</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_ac0cb4341ee81761f608c1c9e02c5e9a1"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#ac0cb4341ee81761f608c1c9e02c5e9a1">g3dvtk::TruncatedRegularGrid::GetVolumeData</a></div><div class="ttdeci">vtkUnstructuredGrid * GetVolumeData() const</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_ac2f016ce812c63f1af04db5ef348b041"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#ac2f016ce812c63f1af04db5ef348b041">g3dvtk::TruncatedRegularGrid::GetFaceCount</a></div><div class="ttdeci">virtual int GetFaceCount() const override</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_aee6137423e8f29fa34ecc81b159957fa"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#aee6137423e8f29fa34ecc81b159957fa">g3dvtk::TruncatedRegularGrid::cells_</a></div><div class="ttdeci">std::vector&lt; Cell &gt; cells_</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:54</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_afbe9008e7ec75b44fbbe39527898f30c"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#afbe9008e7ec75b44fbbe39527898f30c">g3dvtk::TruncatedRegularGrid::GetCellAt</a></div><div class="ttdeci">virtual bool GetCellAt(int n, std::list&lt; int &gt; &amp;faces, int &amp;i, int &amp;j, int &amp;k) const override</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_truncated_regular_grid_html_afc614794368d1172352d2102e8cc990f"><div class="ttname"><a href="classg3dvtk_1_1_truncated_regular_grid.html#afc614794368d1172352d2102e8cc990f">g3dvtk::TruncatedRegularGrid::AppendCell</a></div><div class="ttdeci">virtual int AppendCell(const std::list&lt; int &gt; &amp;faces, int i=0, int j=0, int k=0) override</div><div class="ttdoc">添加一个体元。</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_shape_property_html"><div class="ttname"><a href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a></div><div class="ttdoc">几何对象关联的属性场。 @detials 属性场的定义域可以是几何对象的顶点集、边集、面片集或者体元集；其值域可以包含多个属性字段。属性字段规定了其取值类型、无效值等信息。 ShapeProperty ...</div><div class="ttdef"><b>Definition</b> ShapeProperty.h:12</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_shape_property_html_ab000da11fd54f0f7ec1fdffd2a1c8366"><div class="ttname"><a href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a></div><div class="ttdeci">SamplingTarget</div><div class="ttdoc">属性场在几何对象上的采样位置。</div><div class="ttdef"><b>Definition</b> ShapeProperty.h:15</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_truncated_regular_grid_html"><div class="ttname"><a href="classgeo3dml_1_1_truncated_regular_grid.html">geo3dml::TruncatedRegularGrid</a></div><div class="ttdoc">TruncatedRegularGrid：截断规则网格。从v2版本开始支持。</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:9</div></div>
<div class="ttc" id="ageo3dml_2_truncated_regular_grid_8h_html"><div class="ttname"><a href="geo3dml_2_truncated_regular_grid_8h.html">TruncatedRegularGrid.h</a></div></div>
<div class="ttc" id="anamespaceg3dvtk_html"><div class="ttname"><a href="namespaceg3dvtk.html">g3dvtk</a></div><div class="ttdef"><b>Definition</b> Actor.h:13</div></div>
<div class="ttc" id="astructg3dvtk_1_1_truncated_regular_grid_1_1_cell_html"><div class="ttname"><a href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html">g3dvtk::TruncatedRegularGrid::Cell</a></div><div class="ttdoc">体元。记录组成该体元的面片列表，以及体元的IJK索引值。</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:47</div></div>
<div class="ttc" id="astructg3dvtk_1_1_truncated_regular_grid_1_1_cell_html_a5168200edf669b177fb3ee234ec0116a"><div class="ttname"><a href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#a5168200edf669b177fb3ee234ec0116a">g3dvtk::TruncatedRegularGrid::Cell::faces</a></div><div class="ttdeci">std::list&lt; int &gt; faces</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:48</div></div>
<div class="ttc" id="astructg3dvtk_1_1_truncated_regular_grid_1_1_cell_html_a67e410352c14fa704b6284e3fc8e4737"><div class="ttname"><a href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#a67e410352c14fa704b6284e3fc8e4737">g3dvtk::TruncatedRegularGrid::Cell::j</a></div><div class="ttdeci">int j</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:49</div></div>
<div class="ttc" id="astructg3dvtk_1_1_truncated_regular_grid_1_1_cell_html_aac723e8ad702e78a80eb7a4f734a4c77"><div class="ttname"><a href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#aac723e8ad702e78a80eb7a4f734a4c77">g3dvtk::TruncatedRegularGrid::Cell::i</a></div><div class="ttdeci">int i</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:49</div></div>
<div class="ttc" id="astructg3dvtk_1_1_truncated_regular_grid_1_1_cell_html_ab0b255b0c4e6ffa891c7fb0041f80339"><div class="ttname"><a href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#ab0b255b0c4e6ffa891c7fb0041f80339">g3dvtk::TruncatedRegularGrid::Cell::Cell</a></div><div class="ttdeci">Cell()</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:51</div></div>
<div class="ttc" id="astructg3dvtk_1_1_truncated_regular_grid_1_1_cell_html_acd005e1d5b924ce080486c328b8b9393"><div class="ttname"><a href="structg3dvtk_1_1_truncated_regular_grid_1_1_cell.html#acd005e1d5b924ce080486c328b8b9393">g3dvtk::TruncatedRegularGrid::Cell::k</a></div><div class="ttdeci">int k</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:49</div></div>
<div class="ttc" id="astructg3dvtk_1_1_truncated_regular_grid_1_1_face_html"><div class="ttname"><a href="structg3dvtk_1_1_truncated_regular_grid_1_1_face.html">g3dvtk::TruncatedRegularGrid::Face</a></div><div class="ttdoc">面片。记录组成该面片的顶点列表。</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:43</div></div>
<div class="ttc" id="astructg3dvtk_1_1_truncated_regular_grid_1_1_face_html_a0c7a2965ed5076bab78829c4c623b860"><div class="ttname"><a href="structg3dvtk_1_1_truncated_regular_grid_1_1_face.html#a0c7a2965ed5076bab78829c4c623b860">g3dvtk::TruncatedRegularGrid::Face::vertices</a></div><div class="ttdeci">std::list&lt; int &gt; vertices</div><div class="ttdef"><b>Definition</b> TruncatedRegularGrid.h:44</div></div>
<div class="ttc" id="astructgeo3dml_1_1_box3_d_html"><div class="ttname"><a href="structgeo3dml_1_1_box3_d.html">geo3dml::Box3D</a></div><div class="ttdef"><b>Definition</b> Box3D.h:7</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
